package com.stylefeng.guns.rest.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 系统信息表
 * </p>
 *
 * @author ruiyifeng123
 * @since 2018-06-22
 */
@TableName("wz_sys")
public class WzSys extends Model<WzSys> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * ios版本号
     */
    @TableField("ios_version")
    private String iosVersion;
    /**
     * ios审核版本
     */
    @TableField("ios_check_version")
    private String iosCheckVersion;
    /**
     * 安卓版本号
     */
    @TableField("android_version")
    private String androidVersion;
    /**
     * ios状态:0-上架审核;1-发布中;
     */
    @TableField("ios_status")
    private Integer iosStatus;
    /**
     * 是否允许注册:0-不允许；1-允许
     */
    @TableField("is_register")
    private Integer isRegister;
    /**
     * 允许注册号码
     */
    @TableField("allow_tel")
    private String allowTel;
    @TableField("ios_forceUpdate")
    private Integer iosForceupdate;
    @TableField("android_forceUpdate")
    private Integer androidForceupdate;
    private Integer hasUpdate;
    private Integer isSilent;
    private Integer isForce;
    private Integer isAutoInstall;
    private Integer isIgnorable;
    private String updateContent;
    private Integer versionCode;
    private String versionName;
    private String url;
    private String md5;
    private Long size;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIosVersion() {
        return iosVersion;
    }

    public void setIosVersion(String iosVersion) {
        this.iosVersion = iosVersion;
    }

    public String getIosCheckVersion() {
        return iosCheckVersion;
    }

    public void setIosCheckVersion(String iosCheckVersion) {
        this.iosCheckVersion = iosCheckVersion;
    }

    public String getAndroidVersion() {
        return androidVersion;
    }

    public void setAndroidVersion(String androidVersion) {
        this.androidVersion = androidVersion;
    }

    public Integer getIosStatus() {
        return iosStatus;
    }

    public void setIosStatus(Integer iosStatus) {
        this.iosStatus = iosStatus;
    }

    public Integer getIsRegister() {
        return isRegister;
    }

    public void setIsRegister(Integer isRegister) {
        this.isRegister = isRegister;
    }

    public String getAllowTel() {
        return allowTel;
    }

    public void setAllowTel(String allowTel) {
        this.allowTel = allowTel;
    }

    public Integer getIosForceupdate() {
        return iosForceupdate;
    }

    public void setIosForceupdate(Integer iosForceupdate) {
        this.iosForceupdate = iosForceupdate;
    }

    public Integer getAndroidForceupdate() {
        return androidForceupdate;
    }

    public void setAndroidForceupdate(Integer androidForceupdate) {
        this.androidForceupdate = androidForceupdate;
    }

    public Integer getHasUpdate() {
        return hasUpdate;
    }

    public void setHasUpdate(Integer hasUpdate) {
        this.hasUpdate = hasUpdate;
    }

    public Integer getIsSilent() {
        return isSilent;
    }

    public void setIsSilent(Integer isSilent) {
        this.isSilent = isSilent;
    }

    public Integer getIsForce() {
        return isForce;
    }

    public void setIsForce(Integer isForce) {
        this.isForce = isForce;
    }

    public Integer getIsAutoInstall() {
        return isAutoInstall;
    }

    public void setIsAutoInstall(Integer isAutoInstall) {
        this.isAutoInstall = isAutoInstall;
    }

    public Integer getIsIgnorable() {
        return isIgnorable;
    }

    public void setIsIgnorable(Integer isIgnorable) {
        this.isIgnorable = isIgnorable;
    }

    public String getUpdateContent() {
        return updateContent;
    }

    public void setUpdateContent(String updateContent) {
        this.updateContent = updateContent;
    }

    public Integer getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(Integer versionCode) {
        this.versionCode = versionCode;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "WzSys{" +
        "id=" + id +
        ", iosVersion=" + iosVersion +
        ", iosCheckVersion=" + iosCheckVersion +
        ", androidVersion=" + androidVersion +
        ", iosStatus=" + iosStatus +
        ", isRegister=" + isRegister +
        ", allowTel=" + allowTel +
        ", iosForceupdate=" + iosForceupdate +
        ", androidForceupdate=" + androidForceupdate +
        ", hasUpdate=" + hasUpdate +
        ", isSilent=" + isSilent +
        ", isForce=" + isForce +
        ", isAutoInstall=" + isAutoInstall +
        ", isIgnorable=" + isIgnorable +
        ", updateContent=" + updateContent +
        ", versionCode=" + versionCode +
        ", versionName=" + versionName +
        ", url=" + url +
        ", md5=" + md5 +
        ", size=" + size +
        "}";
    }
}
